package org.example.erp.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.example.erp.domain.Sales;
import org.example.erp.domain.SalesOrder;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
* @author dell
* @description 针对表【sales_order】的数据库操作Mapper
* @createDate 2024-11-18 09:12:18
* @Entity org.example.erp.domain.SalesOrder
*/
public interface SalesOrderMapper extends BaseMapper<SalesOrder> {
    IPage<SalesOrder> findorder(@Param(value = "page") Page<SalesOrder> page, @Param(value = "salesCode")String salesCode,
                                @Param(value ="salesName")String salesName, @Param(value ="status")Integer status,
                                @Param(value ="customerCode")String customerCode, @Param(value ="customerName")String customerName,
                                @Param(value ="orderDate")String orderDate, @Param(value ="deliveryDate")String deliveryDate,
                              @Param(value ="orderCategory")Integer orderCategory
                               );

}




